package com.yuanzong.wuliu.controller.admin.business.customer.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class AdminBusinessCustomerDaijiaxianSaveParam {

    @ApiModelProperty(value = "客户手机号")
    @NotNull(message = "客户手机号不能为空")
    private String customerPhone;

    @ApiModelProperty(value = "代驾险名称")
    @NotEmpty(message = "代驾险名称不能为空")
    private String name;

    @ApiModelProperty(value = "订单号")
    @NotEmpty(message = "订单号不能为空")
    private String orderNo;

    @ApiModelProperty(value = "结束日期")
    @NotEmpty(message = "结束日期不能为空")
    private String endDate;

    @ApiModelProperty(value = "详情列表")
    @NotNull(message = "详情不能为空")
    private List<AdminBusinessCustomerDaijiaxianSaveDetailsParam> detailses;

    @ApiModelProperty(value = "删除详情ID列表")
    private List<Long> removeDetailsIds;
}
